#header_img{
    width: 100%;
    overflow: hidden;
}



.section_nav_bar{
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 100px;
    background-color: var(--light-primary-color);
    width: 100%;
    height: 147px;
}

.section_nav_bar img{
    height: 100%;
}


nav{
    height: 100%;
    width: 100%;
}

nav ul{
    list-style: none;
    display: flex;
    align-items: center;
    height: inherit;
    gap: 20px;
    justify-content: flex-end;
    padding-right: 100px;
    font-size: 32px;
}

nav a{
    color: var(--secondary-text-color);
    text-decoration: none;
    position: relative;
    padding: 2px;
}


nav a::after{
    content: '';
    height: 3px;
    width: 0%;
    background-color: var(--accent-color);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 250ms ease-in-out;
}

nav a:hover::after{
    width: 100%;
}

#toggle_button{
    display: none;
}

label[for="toggle_button"]{
    display:none;
}

@media(max-width:1450px){
    .section_nav_bar{
        position: absolute;
        top: 0;
        left: 0;
        height: 40px;
    }

    #header_img{
        width: 100%;
        overflow: hidden;
        position: relative;
        top: 70px;
    }

    .section_nav_bar img{
        display: none;
    }

    nav{
        background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
        padding: 15px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 6px 20px rgba(26, 93, 59, 0.3);
    }
    nav ul{
        display: none;
        position: absolute;
        left: 0px;
        padding-top: 40px;
        padding-right: 0px;
        justify-content: left;
        flex-direction: column;
        background: linear-gradient(180deg, var(--secondary-color) 0%, var(--accent-color) 100%);
        border-radius: 0 0 15px 15px;
        box-shadow: 0 8px 25px rgba(26, 93, 59, 0.25);
        height: 600px;
    }
    
    nav ul a{
        color: var(--light-secondary-color) !important;
    }

    nav a:hover::after{
        width: 0%;
    }
    

    nav ul li{
        width: 400px;
        margin-left: 10px;
        margin-right: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 10px 0;
        transition: all 0.3s ease;
    }
    
    nav ul li:hover{
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin: 5px 10px;
        padding: 15px 10px;
    }




    #toggle_button:checked ~ul{
        display: flex;
    }

    label[for="toggle_button"]{
        display:block;
    }

    label[for="toggle_button"] i{
        font-size: 40px;
        color: var(--light-secondary-color);
        transition: all 0.3s ease;
    }
    
    label[for="toggle_button"]:hover i{
        color: var(--light-accent-color);
        transform: scale(1.1);
    }
}
